import {lazy,Suspense} from "react"
let routerList = [
    {
        path:"/login",
        component:lazy(()=>import("../page/login"))
    },
    {
        path:"/app",
        component:lazy(()=>import("../page/app")),
        children:[
            {
                path:"/app/dh1",
                component:lazy(()=>import("../page/dh1")),
            },
            {
                path:"/app/dh2",
                component:lazy(()=>import("../page/dh2")),
            },
        ]
    },
    {
       from:"/",   
       to:"/login"
    }
]
export default routerList